\hypertarget{guild__saver_8hpp}{}\doxysection{guild/guild\+\_\+saver.hpp File Reference}
\label{guild__saver_8hpp}\index{guild/guild\_saver.hpp@{guild/guild\_saver.hpp}}


公会保存  


{\ttfamily \#include $<$sstream$>$}\newline
{\ttfamily \#include \char`\"{}guild/guild.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}redis/service\+\_\+redis\+\_\+fwd.\+hpp\char`\"{}}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{guild__saver_8hpp_a86cddb3a9044df2a4587caca07618cf2}{guild\+\_\+service\+::detail\+::\+Save\+Last\+Guild\+Id}} (const std\+::string \&service\+\_\+name, const guild\+\_\+id\+\_\+type guild\+\_\+id)
\begin{DoxyCompactList}\small\item\em 同步保存公会\+Id \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{guild__saver_8hpp_a4f04165526e37b9bc9715e2152600b14}{guild\+\_\+service\+::detail\+::\+Save\+Guild\+Id\+By\+Role}} (const std\+::string \&service\+\_\+name, const std\+::string \&op, const role\+\_\+uuid\+\_\+type role\+\_\+uuid, const guild\+\_\+id\+\_\+type guild\+\_\+id)
\begin{DoxyCompactList}\small\item\em 同步保存角色唯一id获取公会id \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
公会保存 

\begin{DoxyDate}{Date}
2021/05/17 09\+:05
\end{DoxyDate}
\begin{DoxyAuthor}{Author}
harrybao (\href{mailto:harrybao@123u.com}{\texttt{ harrybao@123u.\+com}})
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
v1.\+0.\+0
\end{DoxyVersion}
\begin{DoxyCopyright}{Copyright}
Copyright © 2021 All Rights Reserved 上海欢乐互娱网络科技有限公司
\end{DoxyCopyright}
\begin{DoxyParagraph}{history\+:}
\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{4}{|X[-1]}|}
\hline
\cellcolor{\tableheadbgcolor}\textbf{ Date }&\cellcolor{\tableheadbgcolor}\textbf{ Version }&\cellcolor{\tableheadbgcolor}\textbf{ Author }&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-4}
\endfirsthead
\hline
\endfoot
\hline
\cellcolor{\tableheadbgcolor}\textbf{ Date }&\cellcolor{\tableheadbgcolor}\textbf{ Version }&\cellcolor{\tableheadbgcolor}\textbf{ Author }&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-4}
\endhead
2021/05/17 09\+:05 &1.\+0.\+0 &harrybao &创建初始版本 \\\cline{1-4}
\end{longtabu}

\end{DoxyParagraph}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{guild__saver_8hpp_a4f04165526e37b9bc9715e2152600b14}\label{guild__saver_8hpp_a4f04165526e37b9bc9715e2152600b14}} 
\index{guild\_saver.hpp@{guild\_saver.hpp}!SaveGuildIdByRole@{SaveGuildIdByRole}}
\index{SaveGuildIdByRole@{SaveGuildIdByRole}!guild\_saver.hpp@{guild\_saver.hpp}}
\doxysubsubsection{\texorpdfstring{SaveGuildIdByRole()}{SaveGuildIdByRole()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::detail\+::\+Save\+Guild\+Id\+By\+Role (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{service\+\_\+name,  }\item[{const std\+::string \&}]{op,  }\item[{const \mbox{\hyperlink{guild_8h_a13864dd0b362015febe14be7a3960539}{role\+\_\+uuid\+\_\+type}}}]{role\+\_\+uuid,  }\item[{const \mbox{\hyperlink{guild_8h_a1c8a386d9790b05f2665f3e786b8d983}{guild\+\_\+id\+\_\+type}}}]{guild\+\_\+id }\end{DoxyParamCaption})}



同步保存角色唯一id获取公会id 


\begin{DoxyParams}{Parameters}
{\em service\+\_\+name} & 公会服务名 \\
\hline
{\em op} & 操作 \\
\hline
{\em role\+\_\+uuid} & 角色唯一id \\
\hline
{\em guild\+\_\+id} & 公会id \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true 保存成功 

false 保存失败 
\end{DoxyReturn}
\mbox{\Hypertarget{guild__saver_8hpp_a86cddb3a9044df2a4587caca07618cf2}\label{guild__saver_8hpp_a86cddb3a9044df2a4587caca07618cf2}} 
\index{guild\_saver.hpp@{guild\_saver.hpp}!SaveLastGuildId@{SaveLastGuildId}}
\index{SaveLastGuildId@{SaveLastGuildId}!guild\_saver.hpp@{guild\_saver.hpp}}
\doxysubsubsection{\texorpdfstring{SaveLastGuildId()}{SaveLastGuildId()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::detail\+::\+Save\+Last\+Guild\+Id (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{service\+\_\+name,  }\item[{const \mbox{\hyperlink{guild_8h_a1c8a386d9790b05f2665f3e786b8d983}{guild\+\_\+id\+\_\+type}}}]{guild\+\_\+id }\end{DoxyParamCaption})}



同步保存公会\+Id 


\begin{DoxyParams}{Parameters}
{\em service\+\_\+name} & 公会服务名 \\
\hline
{\em guild\+\_\+str\+\_\+list} & 公会id字符串列表 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
加载结果 
\end{DoxyReturn}

\begin{DoxyRetVals}{Return values}
{\em true} & 加载成功 \\
\hline
{\em false} & 加载失败 \\
\hline
\end{DoxyRetVals}
